package com.dnake.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * Created by haoyuliu on 2017/1/18.
 */
@Entity
public class CardBean {
    @Id(autoincrement = true)
    private Long id;//id
    private String cardNo;//卡号
    private String effectiveStartTime;//有效开始时间
    private String effectiveEndTime;//有效结束时间
    private String effectiveType;//门禁类型
    @Generated(hash = 508619141)
    public CardBean(Long id, String cardNo, String effectiveStartTime,
                    String effectiveEndTime, String effectiveType) {
        this.id = id;
        this.cardNo = cardNo;
        this.effectiveStartTime = effectiveStartTime;
        this.effectiveEndTime = effectiveEndTime;
        this.effectiveType = effectiveType;
    }
    @Generated(hash = 516506924)
    public CardBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getCardNo() {
        return this.cardNo;
    }
    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }
    public String getEffectiveStartTime() {
        return this.effectiveStartTime;
    }
    public void setEffectiveStartTime(String effectiveStartTime) {
        this.effectiveStartTime = effectiveStartTime;
    }
    public String getEffectiveEndTime() {
        return this.effectiveEndTime;
    }
    public void setEffectiveEndTime(String effectiveEndTime) {
        this.effectiveEndTime = effectiveEndTime;
    }
    public String getEffectiveType() {
        return this.effectiveType;
    }
    public void setEffectiveType(String effectiveType) {
        this.effectiveType = effectiveType;
    }

}
